
/**
 * Record pre-insert trigger.
 * Validate the record to be inserted.
 * When false is returned the record will not be inserted in the database.
 * When an exception is thrown the record will also not be inserted in the database but it will be added to databaseManager.getFailedRecords(),
 * the thrown exception can be retrieved via record.exception.getValue().
 *
 * @param {JSRecord<db:/fwk_navigation_infocom/pantallas>} record record that will be inserted
 *
 * @returns {Boolean}
 *
 * @properties={typeid:24,uuid:"0DC27EB9-D613-4584-88F8-70D48F8FC808"}
 */
function onPantallasRecordInsert(record) {
	record.grupo_descripcion = record.pantallas_to_grupostree.descripcion + ' > ' + record.texto
	return true
}
